home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_MagnifyingLens_Stainl < prev    next >
Encoding:
Text File  |  2003-06-06  |  1.6 KB  |  53 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A circular stainless steel frame',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Darkness': 9, 
  15.         'Defocus': 2, 
  16.         'Frame': {
  17.             'FrameColor': (192,192,192), 
  18.             'Material': App.Constants.LensFrameMaterial.Gold, 
  19.             'Style': App.Constants.LensFrameShape.Circular, 
  20.             'Thickness': 4
  21.             }, 
  22.         'Illumination': {
  23.             'LightList': [{
  24.                 'LightColor': (255,255,255), 
  25.                 'LightDirection': (-0.2913,0.2691,-0.8325), 
  26.                 'HighlightSize': 48
  27.                 }], 
  28.             'MaxAmbience': 0, 
  29.             'MinAmbience': 0
  30.             }, 
  31.         'LensSurface': {
  32.             'EnvironmentMap': {
  33.                 'Active': App.Constants.Boolean.false
  34.                 }, 
  35.             'Gloss': 43, 
  36.             'Magnification': 28, 
  37.             'LensMaterial': {
  38.                 'Color': (255,255,255), 
  39.                 'Pattern': None, 
  40.                 'Gradient': None, 
  41.                 'Texture': None
  42.                 }, 
  43.             'LensOpacity': 6, 
  44.             'Refraction': 19, 
  45.             'ShapeType': App.Constants.LensShape.Spherical, 
  46.             'Shininess': 17
  47.             }
  48.         }
  49.  
  50. def Do(Environment):
  51.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  52.  
  53.